﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;

/// <summary>
/// ESBSyncLog
/// </summary>
public class ESBSyncLog
{

    /// <summary>
    /// ESBSyncLog 构造函数
    /// </summary>
    public ESBSyncLog()
    { }


    /// <summary>
    /// ESBSyncLog OR映射构造函数
    /// </summary>
    public ESBSyncLog(System.Data.IDataReader dr)
    {
        this.ServiceSn = Convert.ToString(dr["ServiceSn"]);
        this.DCSGroupName = Convert.ToString(dr["DCSGroupName"]);
        this.MessageType = Convert.ToString(dr["MessageType"]);
        this.ESBSyncTime = Convert.ToDateTime(dr["ESBSyncTime"]);
        this.ESBSyncStatus = Convert.ToInt32(dr["ESBSyncStatus"]);
    }


    /// <summary>
    /// ESB流水号
    /// </summary>
    public string ServiceSn { get; set; }

    /// <summary>
    /// 报文组名
    /// </summary>
    public string DCSGroupName { get; set; }

    /// <summary>
    /// 报文类型
    /// </summary>
    public string MessageType { get; set; }

    /// <summary>
    /// ESB同步时间
    /// </summary>
    public DateTime ESBSyncTime { get; set; }

    /// <summary>
    /// ESB同步状态
    /// </summary>
    public int ESBSyncStatus { get; set; }


}
